<!--
 * @Author: Zcl84765
 * @Date: 2021-12-13 13:02:54
 * @LastEditors: Zcl84765
 * @LastEditTime: 2023-01-19 10:38:35
-->
<template>
  <div>
    <!-- <el-dialog
      title="提示"
      :visible.sync="show"
      width="40%"
      :before-close="handleClose"
    >
      <div>
        <el-form ref="form" :model="form" label-width="80px">
          <el-form-item label="活动名称">
            <el-input v-model="form.name"></el-input>
          </el-form-item>
          <el-form-item label="活动称号">
            <el-input v-model="form.title"></el-input>
          </el-form-item>
        </el-form>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button @click="handleClose">取 消</el-button>
        <el-button type="primary" @click="submitHandle()">确 定</el-button>
      </span>
    </el-dialog> -->
  </div>
</template>
<script>
import data1 from "../plugins/data.json";
// import { getLoginPicApi } from "../api/api";
export default {
  props: ["show"],
  data() {
    return {
      form: {
        name: "",
        title: "",
        list1: []
      }
    };
  },
  created() {
    const { result: _arr } = data1.result;
    


  },
  methods: {
    handleClose() {
      this.$emit("closeDia", false);
    },
    submitHandle() {
      this.$emit("submitHandle", this.form);
    },
    checkData() {
      // console.log(https.fetchGet,'1222')
      getLoginPicApi().then(res => {
        console.log(res);
      });
    }
  },
  watch: {
    ShowDia: function(newVal, oldVal) {
      console.log(newVal, oldVal);
    }
  }
};
</script>
